package com.test.web.service.impl;

import java.util.List;

import com.test.web.dao.UserDao;
import com.test.web.dao.impl.UserDaoImpl;
import com.test.web.pojo.User;
import com.test.web.service.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao = new UserDaoImpl();

	@Override
	public List<User> all() {
		return userDao.all();
	}

	@Override
	public List<User> allByDM() {
		return userDao.allByDM();
	}

	@Override
	public List<User> allByJNDI() {
		return userDao.allByJNDI();
	}

}
